home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Development
/
General
/
CDK 7.0.2 Update
/
Compiler pragma options
next >
Wrap
Text File
|
1994-05-08
|
3KB
|
66 lines
Compiler pragma options. If S? is Y the option is settable by using the
pragma options() directive. If S? is N the option can only be tested by
using the pragma __option() directive.
Option S? value Description
===============================================================================
ansi Y 0/1 1 if ANSI conformance is on
ansi_relaxed Y 0/1 1 if relaxed ANSI conformance is on
ansi_strict Y 0/1 1 if strict ANSI conformance is on
read_header_once Y 0/1 1 if read each header file once is on
chars_unsigned Y 0/1 1 if 'Treat chars as unsigned' is on
pack_enums Y 0/1 1 if 'enums are always ints' is off
mc68020+ Y 0/1 1 if 68020 code generation is enabled
mc68881+ Y 0/1 1 if 68881 code generation is enabled
mc68881_trans+ Y 0/1 1 if 68881 will be used for transcendentals
double_8+ N 0/1 1 if 8 byte double is turned on
struct_align Y 1/2/4 Value of 1, 2, or 4 from structure alignment setting
pcrel_strings+ N 0/1 1 if PC relative strings is on
global_optimizer Y 0/1 1 if the optimizer is enabled
gopt_time Y 0/1 1 if optimizing for time, false if for space
gopt_dead_assign N 0/1 1 if performing dead assignment elimination
gopt_dead_variable N 0/1 1 if performing dead variable elimination
gopt_cse N 0/1 1 if performing CSE elimination
gopt_vbe N 0/1 1 if hoisting very busy expressions
gopt_loop_invariant N 0/1 1 if performing loop invariant
gopt_loop_induction N 0/1 1 if performing loop induction
gopt_const_prop N 0/1 1 if performing constant propagation
gopt_copy_prop N 0/1 1 if performing copy propagation
gopt_loop N 0/1 1 if looping until cannot optimize
force_frame Y 0/1 1 if always generating stack frames
profile Y 0/1 1 if using the profiler
macsbug_names+ Y 0/1 1 if generating macsbug names
dont_inline Y 0/1 1 when using function calls for inlines
stop_at_first_err Y 0/1 1 when stopping at the first reported error
report_all_err Y 0/1 1 when reporting all errors in a translation unit
generate_warn Y 0/1 1 when reporting any warnings
warn_unintended_assign
Y 0/1 1 when generating a warning for unintended assignment
warn_nest_comments Y 0/1 1 when generating a warning regarding nested comments
warn_unused_expressions
Y 0/1 1 when warning about unused expressions
warn_empty_loops Y 0/1 1 when warning about empty loops
warn_large_auto Y 0/1 1 when warning about large automatic variables
warn_old_style_delete
Y 0/1 1 when warning about old style deletes
warn_missing_overloads
Y 0/1 1 when warning about missing overloads for postfix ++/--
warn_ref_init Y 0/1 1 when warning about invalid reference initialization
warn_used_before_set
Y 0/1 1 when warning about a variable being used before set
warn_return_addr_auto
Y 0/1 1 when warning about returning the address of an automatic
warn_unrecognized_pragma
Y 0/1 1 when warning about unrecognized pragmas
warn_old_style_definition
Y 0/1 1 when warning about old-style function definitions
warn_cast_incomplete_type
Y 0/1 1 when warning about casts from incomplete types
a4_globals*+ N 0/1 1 when a4 globals are being used
far_code+ N 0/1 1 when compiling far code
far_data+ N 0/1 1 when compiling far data
jump_table+ N 0/1 1 when compiling with a jump table
* = THINK only
+ = Not available in PowerPC compiler versions